import fetch from 'utils/fetch';
// 规则管理分页
export function ruleManagePage(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/ruleManagePage',
        method: 'get',
        params: query
    });
}
// 规则管理 编辑保存
export function updateMinMax(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateMinMax',
        method: 'post',
        data: obj
    });
}
// 规则管理 编辑保存2
export function updateMinMaxCache(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateMinMaxCache',
        method: 'post',
        data: obj
    });
}
// 更改状态
export function updateStartEnd(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateStartEnd',
        method: 'post',
        data: obj
    });
}
// 更改状态2
export function updateStartEndCache(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateStartEndCache',
        method: 'post',
        data: obj
    });
}
// 风控规则分页新接口
export function pageStrategy(obj) {
    return fetch({
        url: '/api/core/riskClientStrategy/page/strategy',
        method: 'post',
        data: obj
    });
}
// 编辑新接口
export function updateStrategy(obj) {
    return fetch({
        url: '/api/core/riskClientStrategy/update/strategy',
        method: 'post',
        data: obj
    });
}
